package com.zst.microservicenodeone.feign;

import com.alibaba.fastjson.JSONObject;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("POLYPHIASONGSSERVICE")
public interface FeignDiscovery {
    @RequestMapping(
            method = RequestMethod.GET,
            value = "/polyphia/NewLevelsDevils",
            consumes="application/json"
    )
    JSONObject getPolyphia();
}
